package com.ruoyi.draw.mapper;

import java.util.List;
import com.ruoyi.draw.domain.Novel;

/**
 * NovelMapper接口
 * 
 * @author Locek
 * @date 2025-10-25
 */
public interface NovelMapper 
{
    /**
     * 查询Novel
     * 
     * @param id Novel主键
     * @return Novel
     */
    public Novel selectNovelById(Long id);

    /**
     * 查询Novel列表
     * 
     * @param novel Novel
     * @return Novel集合
     */
    public List<Novel> selectNovelList(Novel novel);

    /**
     * 新增Novel
     * 
     * @param novel Novel
     * @return 结果
     */
    public int insertNovel(Novel novel);

    /**
     * 修改Novel
     * 
     * @param novel Novel
     * @return 结果
     */
    public int updateNovel(Novel novel);

    /**
     * 删除Novel
     * 
     * @param id Novel主键
     * @return 结果
     */
    public int deleteNovelById(Long id);

    /**
     * 批量删除Novel
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteNovelByIds(Long[] ids);
}
